import { type CourseAudit } from "@/api/course/course-audit/type";
import { CourseStatus, type CourseListVO } from "@/api/course/course-mange/type";

/*
 * @Author: anxia.ack anchenkai@come-future.com
 * @Date: 2025-04-20 20:20:55
 * @LastEditors: anxia.ack anchenkai@come-future.com
 * @LastEditTime: 2025-04-20 20:36:59
 * @FilePath: /free-learning/src/views/course-manage/course/mock.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const mockData: CourseListVO[] = [
  {
    id: 1,
    title: "课程",
    description: "课程描述",
    consultantId: 1,
    consultantName: "咨询师1",
    categoryId: 1,
    categoryName: "分类1",
    coverImage: "https://www.baidu.com/img/flexible/logo/pc/result.png",
    content: "课程介绍",
    status: CourseStatus.WaitingPublish,
    startTime: "2025-01-01",
    createTime: new Date(),
    updateTime: new Date(),
    isRecommend: 1,
    chaptersNum: 1,
    favoriteCount: 1,
    reviewCount: 1,
    likeCount: 1,
  },
];

export const mockCourseHistory: CourseAudit[] = [
  {
    id: 1,
    courseId: 1,
    status: CourseStatus.WaitingPublish,
    opinion: "审核意见",
    auditorId: 1,
    auditorName: "审核员1",
    auditTime: "2025-01-01 10:00:00",
  },
  {
    id: 2,
    courseId: 1,
    status: CourseStatus.Rejected,
    opinion: "不通过",
    auditorId: 1,
    auditorName: "审核员1",
    auditTime: "2025-01-01 10:00:00",
  },
  {
    id: 3,
    courseId: 1,
    status: CourseStatus.Approved,
    opinion: "通过",
    auditorId: 1,
    auditorName: "审核员1",
    auditTime: "2025-01-01 10:00:00",
  },
];
